package com.netty.demo.protocol.packet;

import com.netty.demo.protocol.Command;
import lombok.Data;

import java.util.Date;

@Data
public class MessagePacket extends Packet {
    private String message;
    private Date sendTime;
    private String userId;

    @Override
    public Byte getCommand(){
        return Command.MESSAGE;
    }
}
